package com.fxu.framework.core.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/***
 * <p>yuye</p>
 * 状态修改请求
 * @author fangxu
 * @since 2023-10-17
 ***/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "StatusReq", description = "状态修改请求")
public class StatusReq implements Serializable {
    @ApiModelProperty(value = "自增ID", required = true)
    @NotNull(message = "自增ID必须赋值")
    private Long id;

    @ApiModelProperty(value = "状态值", required = true)
    @NotNull(message = "状态必须赋值")
    private Integer status;
}
